package com.itheima.Jiuye14;

public class Zuoye03 {
    public static void main(String[] args) {
        Zuoye3 runnable = new Zuoye3();
        Thread thread = new Thread(runnable);
        Thread thread1 = new Thread(runnable);
        thread.setName("窗口1");
        thread1.setName("窗口2");
        thread.start();
        thread1.start();

    }
}
